import http from "@/uils/http";
//轮播图
export function getBannerAPI (params={}){
    const {distributionSite='1'} = params 
    return http({
        url: "/home/banner",
        params:{
            distributionSite
        }
    })
}
//新鲜好物
export function findNewAPI(){
    return http({
        url: "/home/new",
    })
}
//人气推荐
export function getHotAPI (){
    return http({
        url: "/home/hot",
    })
}
//商品列表
export function getGoodsAPI(){
    return http({
        url: "/home/goods",
    })
}